package cn.edu.nit.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @Author xiaobai
 * @Date 2022/9/24 20:31
 * @Version 1.0.0
 */
@Data
@TableName("sys_equip")
public class Equip {

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String name;
    private String position;
    private Integer volume;
    private Integer stateId;
    private String stateName;
    private String author;
    private String description;
    private String createTime;
}
